# Hostname: lhtech-router-bgp # Model: mx104 # Junos: 18.2R3-S1.7 # JUNOS Base OS boot [18.2R3-S1.7] # JUNOS Base OS Software Suite [18.2R3-S1.7] # JUNOS Crypto Software Suite [18.2R3-S1.7] # JUNOS Packet Forwarding Engine Support (TRIO) [18.2R3-S1.7] # JUNOS Web Management [18.2R3-S1.7] # JUNOS Online Documentation [18.2R3-S1.7] # JUNOS SDN Software Suite [18.2R3-S1.7] # JUNOS Services Application Level Gateways [18.2R3-S1.7] # JUNOS Services COS [18.2R3-S1.7] # JUNOS Services Jflow Container package [18.2R3-S1.7] # JUNOS Services Stateful Firewall [18.2R3-S1.7] # JUNOS Services NAT [18.2R3-S1.7] # JUNOS Services RPM [18.2R3-S1.7] # JUNOS Services Captive Portal and Content Delivery Container package [18.2R3-S1.7] # JUNOS Macsec Software Suite [18.2R3-S1.7] # JUNOS Services Crypto [18.2R3-S1.7] # JUNOS Services IPSec [18.2R3-S1.7] # JUNOS DP Crypto Software Software Suite [18.2R3-S1.7] # JUNOS py-base-powerpc [18.2R3-S1.7] # JUNOS py-extensions-powerpc [18.2R3-S1.7] # JUNOS jsd [powerpc-18.2R3-S1.7-jet-1] # JUNOS Kernel Software Suite [18.2R3-S1.7] # JUNOS Routing Software Suite [18.2R3-S1.7] # Hardware inventory: # Item Version Part number Serial number Description # Chassis AM858 MX104 # Midplane REV 55 750-062050 CAFZ3146 MX104 # PEM 0 REV 05 740-045932 1H076170332 DC Power Entry Module # PEM 1 REV 05 740-045932 1H076170330 DC Power Entry Module # Routing Engine 0 REV 09 750-053342 CAET2055 RE-MX-104 # AFEB 0 BUILTIN BUILTIN Forwarding Engine Processor # FPC 0 BUILTIN BUILTIN MPC BUILTIN # MIC 0 REV 16 750-049846 CAGB0734 3D 20x 1GE(LAN)-E,SFP # PIC 0 BUILTIN BUILTIN 10x 1GE(LAN) -E SFP # PIC 1 BUILTIN BUILTIN 10x 1GE(LAN) -E SFP # MIC 1 REV 26 750-028380 CAFE7330 3D 2x 10GE XFP # PIC 2 BUILTIN BUILTIN 1x 10GE XFP # Xcvr 0 NON-JNPR HO21H1125008 XFP-10G-SR # PIC 3 BUILTIN BUILTIN 1x 10GE XFP # Xcvr 0 0 NON-JNPR HO21H1125003 XFP-10G-SR # FPC 1 BUILTIN BUILTIN MPC BUILTIN # FPC 2 BUILTIN BUILTIN MPC BUILTIN # MIC 0 BUILTIN BUILTIN 4x 10GE(LAN) SFP+ # PIC 0 BUILTIN BUILTIN 4x 10GE(LAN) SFP+ # Xcvr 1 NON-JNPR ASTF2109021832 SFP+-10G-SR # Xcvr 2 NON-JNPR ASTF2109024546 SFP+-10G-SR # Xcvr 3 @ NON-JNPR ASTF2109024509 SFP+-10G-SR # Fan Tray 0 REV 03 711-049570 CAGL5096 Fan Tray # License usage: # Licenses Licenses Licenses Expiry # Feature name used installed needed # subscriber-accounting 0 1 0 permanent # subscriber-authentication 0 1 0 permanent # subscriber-address-assignment 0 1 0 permanent # subscriber-vlan 0 1 0 permanent # subscriber-ip 0 1 0 permanent # service-dc 0 1 0 permanent # service-accounting 0 1 0 permanent # service-qos 0 1 0 permanent # service-ancp 0 1 0 permanent # service-cbsp 0 1 0 permanent # scale-subscriber 16000 0 permanent # scale-l2tp 0 1000 0 permanent # scale-mobile-ip 0 1000 0 permanent # l2tp-inline-lns 0 1 0 permanent # MX104-2x10Gig-port-0-1 0 1 0 permanent # MX104-2x10Gig-port-2-3 0 1 0 permanent # # Licenses installed: # License identifier: E008338859 # License version: 2 # Features: # subscriber-accounting - Per Subscriber Radius Accounting # permanent # subscriber-authentication - Per Subscriber Radius Authentication # permanent # subscriber-address-assignment - Radius/SRC Address Pool Assignment # permanent # subscriber-vlan - Dynamic Auto-sensed Vlan # permanent # subscriber-ip - Dynamic and Static IP # permanent # l2tp-inline-lns - L2TP Inline LNS # permanent # # License identifier: E400380226 # License version: 4 # Features: # scale-subscriber-8k - Subscriber Tier 4K - 8K # permanent # # License identifier: E400461716 # License version: 4 # Features: # scale-subscriber-16k - Subscriber Tier 8K - 16K # permanent # # License identifier: E401171420 # License version: 4 # Features: # service-dc - Service Definition Capability # permanent # service-accounting - Per Service Accounting # permanent # service-qos - Dynamic QOS Policy # permanent # service-ancp - ANCP Based QOS Adjustment # permanent # service-cbsp - Cell Based Shaping and Policing # permanent # # License identifier: E408040024 # License version: 4 # Features: # MX104-2x10Gig-port-0-1 - MX104 2X10Gig Builtin Port(xe-2/0/0 & xe-2/0/1) upgrade # permanent # MX104-2x10Gig-port-2-3 - MX104 2X10Gig Builtin Port(xe-2/0/2 & xe-2/0/3) upgrade # permanent # # # E008338859 aeaqeb qgdyps aijcpq dsrd4y 3jgvhq lnbp6l # wldalh jn4aio ldvedj jg2rm4 lb7bqs 6b3qks # zbe3cg kzlcrl yshm # # # E400380226 aeaqib qcsaba okhgn7 u2gno7 kn7ko5 s7f3go # 6jjbp6 woodyy bei6gn ztvkdm c3zo27 223rhd # vggsdk blei # # # E400461716 aeaqib qcsabq okcxa4 ohrft7 v2xsgt mmfaee # 5sdn7e 6mnsuc vh6v75 57bnqv szxpyx mxqbe6 # asw4ij my5u # # # E401171420 aeaqib qfemsc kjrha4 uaqhw3 zx3f2n q7kllg # e4bz7m m4pz4a 4tdoeh 3lc6jq ps3qdr oe4tlq # 7hlkpl qvoout j3i # # # E408040024 aeaqib qeqcoy bhqhfa 4ty4tc fp6g7m agw45i # 34dmap 75ux6p hq7cvh u6g5ga ebn7hq izein7 # i76ewx r53qj6 w ## Last commit: 2026-11-09 20:19:37 BRST by iper version 18.2R3-S1.7; groups { sampling { interfaces { <*> { unit <*> { family inet { sampling { input; } } family inet6 { sampling { input; } } } } } } } system { login { user admin { uid 2000; class super-user; authentication { encrypted-password "$sha1$24030$iOcNJvw7$QhKw3LKApo9nm4xH/1jvLn6ZlLbh"; ## SECRET-DATA } } user iper { uid 2007; class super-user; authentication { encrypted-password "$6$RqILL713$MY9BKVT7kILPv4Ep4RUoG5euFOjMDwdmrXIsiMT/K/Wh/ClLLfQhpZ3aQxh/MxDhmTabOcQoeeieL9n79sZQH1"; ## SECRET-DATA } } } root-authentication { encrypted-password "$sha1$21926$iNENeeY2$8y2MAOU/7LiYTOmmGXzRXSRBUtK5"; ## SECRET-DATA } host-name lhtech-router-bgp; time-zone America/Sao_Paulo; no-multicast-echo; no-redirects; no-ping-record-route; no-ping-time-stamp; arp { aging-timer 240; } authentication-order [ radius password ]; name-server { 45.163.14.33; 8.8.8.8; } services { ssh { root-login deny; protocol-version v2; port 2200; } telnet { connection-limit 10; rate-limit 4; } } syslog { user * { any emergency; } host 45.163.13.106 { any any; port 8514; source-address 45.182.160.2; } file messages { any notice; authorization info; } file interactive-commands { interactive-commands any; } time-format year millisecond; } archival { configuration { transfer-interval 720; archive-sites { "ftp://bkp.lhtech@10.10.10.89" password "$9$UIDkP6/tBRSmfz6/A1ILx7dVYiHmPT3"; ## SECRET-DATA } } } ntp { server 10.10.10.17; } } chassis { aggregated-devices { ethernet { device-count 4; } } afeb { slot 0 { sampling-instance sample-ins; inline-services { flex-flow-sizing; } } } alarm { management-ethernet { link-down ignore; } } network-services enhanced-ip; } services { flow-monitoring { version9 { template ipv4 { flow-active-timeout 10; flow-inactive-timeout 10; nexthop-learning { enable; } template-refresh-rate { packets 30; seconds 30; } option-refresh-rate { packets 30; seconds 30; } ipv4-template; } template ipv6 { flow-active-timeout 10; flow-inactive-timeout 10; nexthop-learning { enable; } template-refresh-rate { packets 30; seconds 30; } option-refresh-rate { packets 30; seconds 30; } ipv6-template; } } } } interfaces { xe-0/3/0 { description to-sw-core-iir; gigether-options { 802.3ad ae1; } } xe-2/0/1 { description to-sw-core-iir-xg18; gigether-options { 802.3ad ae1; } } xe-2/0/2 { description to-sw-core-iir-ten5; gigether-options { 802.3ad ae1; } } xe-2/0/3 { description to-sw-core-iir-ten8; gigether-options { 802.3ad ae1; } } ae1 { description link-sw-core-iir; flexible-vlan-tagging; mtu 9000; encapsulation flexible-ethernet-services; aggregated-ether-options { lacp { active; } } unit 350 { description link-sw-core-iir-ipv6; vlan-id 350; family inet6 { filter { input drop-ntp-bgp; } address 2804:6230:0:50::1/64; } } unit 450 { description link-sw-core-iir-ipv4; vlan-id 450; family inet { filter { input drop-dns-estranho; } address 172.25.128.49/30; } } unit 2299 { apply-groups sampling; description link-unifique-bgp; vlan-id 2299; family inet { address 172.30.66.110/30; } family inet6 { filter { input drop-ntp-bgp; } address 2804:30c:1:80::2/112; } } unit 3512 { apply-groups sampling; description link-ipv4-ggnet; vlan-id 3512; family inet { address 172.31.68.2/30; } } unit 3513 { apply-groups sampling; description link-ipv6-ggnet; vlan-id 3513; family inet6 { filter { input drop-ntp-bgp; } address 2804:3b0:8200:208b::2/64; } } } fxp0 { unit 0 { family inet { address 192.168.10.2/24; } } } lo0 { unit 0 { family inet { filter { input-list [ accept-common-services accept-bgp discard-all ]; } address 45.182.160.2/32; address 172.25.130.2/32; } } } } snmp { location br-sc-iir; contact "noc@iper.net.br"; view all { oid .1; } community "#lhtech#" { authorization read-only; clients { 45.163.14.33/32; 192.168.180.184/29; } } community ipermonitor { authorization read-only; clients { 177.75.162.43/32; 172.25.130.228/32; 45.163.13.106/32; 10.10.10.0/24; 177.73.253.85/32; } } } forwarding-options { sampling { instance { sample-ins { input { rate 1024; max-packets-per-second 65535; } family inet { output { flow-server 10.10.10.89 { port 2055; autonomous-system-type origin; source-address 45.182.160.2; version9 { template { ipv4; } } } inline-jflow { source-address 45.182.160.2; } } } family inet6 { output { flow-server 10.10.10.89 { port 2055; autonomous-system-type origin; source-address 45.182.160.2; version9 { template { ipv6; } } } inline-jflow { source-address 45.182.160.2; } } } } } } } routing-options { bmp { station AKVORADO { local-address 45.182.160.2; connection-mode active; monitor enable; route-monitoring { pre-policy; post-policy; } station-address 45.163.13.106; station-port 10179; } } rib inet6.0 { static { route 2804:6230::/32 next-hop 2804:6230:0:50::2; route 2804:3b0:8000:0:177:155:141:254/128 next-hop 2804:3b0:8200:208b::1; route 2804:3b0:8000:0:186:211:109:254/128 next-hop 2804:3b0:8200:208b::1; route 2804:6230::/33 next-hop 2804:6230:0:50::2; route 2804:6230:8000::/33 next-hop 2804:6230:0:50::2; } } static { route 45.182.160.0/22 discard; route 45.182.160.0/23 discard; route 45.182.162.0/23 discard; route 45.182.161.0/24 discard; route 45.182.162.0/24 discard; route 45.182.163.0/24 discard; route 45.182.164.0/24 discard; route 177.155.141.254/32 next-hop 172.31.68.1; route 186.211.109.254/32 next-hop 172.31.68.1; route 45.182.160.0/24 discard; route 45.182.164.0/25 next-hop 172.25.128.50; route 45.182.164.128/25 next-hop 172.25.128.50; route 45.182.163.0/25 next-hop 172.25.128.50; route 45.182.163.128/25 next-hop 172.25.128.50; route 45.182.162.0/25 next-hop 172.25.128.50; route 45.182.162.128/25 next-hop 172.25.128.50; route 45.182.161.0/25 next-hop 172.25.128.50; route 45.182.161.128/25 next-hop 172.25.128.50; route 45.182.160.0/25 next-hop 172.25.128.50; route 45.182.160.128/25 next-hop 172.25.128.50; route 172.25.128.0/24 next-hop 172.25.128.50; route 172.25.130.0/24 next-hop 172.25.128.50; route 170.150.1.147/32 next-hop 172.25.128.50; route 100.101.0.0/16 next-hop 172.25.128.50; route 10.10.10.16/30 next-hop 172.25.128.50; route 172.31.128.0/24 next-hop 172.25.128.50; route 45.163.14.33/32 next-hop 192.168.180.185; route 192.168.180.184/29 next-hop 172.25.128.50; route 200.155.96.70/32 { next-hop 177.155.141.254; resolve; } route 189.28.130.13/32 { next-hop 177.155.141.254; resolve; } route 177.53.148.177/32 { next-hop 177.155.141.254; resolve; } route 10.10.10.0/24 next-hop 172.25.128.50; inactive: route 177.11.21.106/32 { next-hop 177.155.141.254; resolve; } } router-id 45.182.160.2; autonomous-system 269281; } protocols { bgp { group ggnet-ipv4 { type external; multihop { ttl 64; } hold-time 180; import ggnet-in-ipv4; export ggnet-out-ipv4; peer-as 53062; neighbor 177.155.141.254 { description rr1-ggnet; } neighbor 186.211.109.254 { description rr2-ggnet; } } group ggnet-ipv6 { type external; multihop { ttl 64; } hold-time 180; import ggnet-in-ipv6; export ggnet-out-ipv6; peer-as 53062; neighbor 2804:3b0:8000:0:177:155:141:254 { description rr1-ggnet; } neighbor 2804:3b0:8000:0:186:211:109:254 { description rr2-ggnet; } } group unifique-ipv4 { type external; import unifique-in-ipv4; export unifique-out-ipv4; peer-as 28343; neighbor 172.30.66.109 { description unifique-ipv4; } } group unifique-ipv6 { type external; import unifique-in-ipv6; export unifique-out-ipv6; peer-as 28343; neighbor 2804:30c:1:80::1 { description unifique-ipv6; } } } inactive: ospf { export ospf-out; import ospf-in; area 0.0.0.0 { interface ae1.450 { interface-type p2p; } } } protection-group; } policy-options { prefix-list ntp-servers { 10.10.10.17/32; apply-path "system ntp server <*>"; } prefix-list bgp-peers { apply-path "protocols bgp group <*> neighbor <*>"; } prefix-list ipv4-interfaces { apply-path "interfaces <*> unit <*> family inet address <*>"; } prefix-list snmp-servers { apply-path "snmp community <*> clients <*>"; } prefix-list localhost { 127.0.0.0/8; } prefix-list GERENCIA { 10.10.10.0/24; 45.163.13.106/32; 45.182.160.0/24; 172.25.128.0/24; 172.31.68.1/32; 177.75.162.43/32; } prefix-list dns-servers { apply-path "system name-server <*>"; } policy-statement ggnet-in-ipv4 { term default { from { route-filter 0.0.0.0/0 exact; } then { local-preference 750; accept; } } term origin-as53062 { from as-path origin-as53062; then { local-preference 1000; accept; } } term reject-bogons { from policy reject-bogon-prefixes; } term accept-all { then accept; } term reject-all { then reject; } } policy-statement ggnet-in-ipv6 { term default { from { route-filter ::/0 exact; } then { local-preference 750; accept; } } term origin-as53062 { from as-path origin-as53062; then { local-preference 1000; accept; } } term reject-bogons { from policy reject-bogon-prefixes; } term accept-all { then accept; } term reject-all { then reject; } } policy-statement ggnet-out-ipv4 { term as269281-prepend { from { route-filter 45.182.160.0/22 exact; route-filter 45.182.160.0/23 exact; route-filter 45.182.162.0/23 exact; } then { as-path-prepend 269281; accept; } } term reject-all { then reject; } } policy-statement ggnet-out-ipv6 { term as269281 { from { route-filter 2804:6230::/32 exact; } then { as-path-prepend 269281; accept; } } term reject-all { then reject; } } policy-statement ospf-in { term default { from { route-filter 0.0.0.0/0 exact; } then reject; } term accept { from { route-filter 45.182.160.0/22 upto /32; } then accept; } term reject-all { from { route-filter 0.0.0.0/0 upto /32; } then reject; } } policy-statement ospf-out { term reject-all { from { route-filter 0.0.0.0/0 upto /32; } then reject; } } policy-statement reject-bogon-prefixes { term reject-bogon-prefixes-v4 { from { route-filter 0.0.0.0/8 orlonger; route-filter 10.0.0.0/8 orlonger; route-filter 100.64.0.0/10 orlonger; route-filter 127.0.0.0/8 orlonger; route-filter 169.254.0.0/16 orlonger; route-filter 172.16.0.0/12 orlonger; route-filter 192.0.2.0/24 orlonger; route-filter 192.88.99.0/24 orlonger; route-filter 192.168.0.0/16 orlonger; route-filter 198.18.0.0/15 orlonger; route-filter 198.51.100.0/24 orlonger; route-filter 203.0.113.0/24 orlonger; route-filter 224.0.0.0/4 orlonger; route-filter 240.0.0.0/4 orlonger; } then reject; } term reject-bogon-prefixes-v6 { from { route-filter ::/8 orlonger; route-filter 100::/64 orlonger; route-filter 2001:2::/48 orlonger; route-filter 2001:10::/28 orlonger; route-filter 2001:db8::/32 orlonger; route-filter 2002::/16 orlonger; route-filter 3ffe::/16 orlonger; route-filter fc00::/7 orlonger; route-filter fe80::/10 orlonger; route-filter fec0::/10 orlonger; route-filter ff00::/8 orlonger; } } then reject; } policy-statement unifique-in-ipv4 { term default { from { route-filter 0.0.0.0/0 exact; } then { local-preference 775; accept; } } term origin-as28343 { from as-path origin-as28343; then { local-preference 1000; accept; } } term reject-bogons { from policy reject-bogon-prefixes; } term reject { from { route-filter 177.53.148.0/23 longer; } then reject; } term accept-all { then accept; } term reject-all { then reject; } } policy-statement unifique-in-ipv6 { term default { from { route-filter ::/0 exact; } then { local-preference 725; accept; } } term origin-as28343 { from as-path origin-as28343; then { local-preference 1000; accept; } } term reject-bogons { from policy reject-bogon-prefixes; } inactive: term accept-all { then accept; } term reject-all { then reject; } } policy-statement unifique-out-ipv4 { term as28343-dual-prepend { from { route-filter 45.182.160.0/23 exact; } then { as-path-prepend "269281 269281"; accept; } } term as28343-prepend { from { route-filter 45.182.160.0/22 exact; route-filter 45.182.160.0/23 exact; route-filter 45.182.162.0/23 exact; } then { as-path-prepend 269281; accept; } } term reject-all { then reject; } } policy-statement unifique-out-ipv6 { term as28343 { from { route-filter 2804:6230::/32 exact; } then { as-path-prepend "269281 269281"; accept; } } term reject-all { then reject; } } as-path origin-as262417 ".* 262417"; as-path origin-as53062 ".* 53062"; as-path origin-as262607 ".* 262607"; as-path origin-as28343 ".* 28343"; } firewall { family inet { filter accept-common-services { term accept-icmp { filter accept-icmp; } term accept-ssh { filter accept-ssh; } term accept-dns { filter accept-dns; } term accept-ntp { filter accept-ntp; } term accept-snmp { filter accept-snmp; } term accept-telnet { filter accept-telnet; } term accept-bmp { filter accept-bmp; } } filter accept-icmp { apply-flags omit; term no-icmp-fragments { from { is-fragment; protocol icmp; } then { discard; } } term accept-icmp { from { protocol icmp; ttl-except 1; icmp-type [ echo-reply echo-request time-exceeded unreachable source-quench router-advertisement parameter-problem ]; } then { policer management-5m; accept; } } } filter accept-ssh { term accept-ssh { from { source-prefix-list { GERENCIA; } destination-prefix-list { ipv4-interfaces; } protocol tcp; destination-port [ ssh 2200 ]; } then { policer management-5m; accept; } } } filter accept-dns { term accept-dns { from { source-prefix-list { dns-servers; } destination-prefix-list { ipv4-interfaces; } protocol udp; source-port 53; } then { policer management-1m; accept; } } } filter accept-ntp { term accept-ntp { from { source-prefix-list { ntp-servers; } } then accept; } } filter accept-snmp { term accept-snmp { from { source-prefix-list { snmp-servers; } destination-prefix-list { ipv4-interfaces; } protocol udp; destination-port snmp; } then { policer management-5m; accept; } } } filter accept-bgp { term accept-bgp { from { source-prefix-list { bgp-peers; } destination-prefix-list { ipv4-interfaces; } protocol tcp; port bgp; } then accept; } } filter discard-all { apply-flags omit; term discard-ip-options { from { ip-options any; } then { count discard-ip-options; log; discard; } } term discard-TTL_1-unknown { from { ttl 1; } then { count discard-all-TTL_1-unknown; log; discard; } } term discard-tcp { from { protocol tcp; } then { count discard-tcp; log; discard; } } term discard-netbios { from { protocol udp; destination-port 137; } then { count discard-netbios; log; discard; } } term discard-udp { from { protocol udp; } then { count discard-udp; log; discard; } } term discard-icmp { from { protocol icmp; } then { count discard-icmp; log; discard; } } term discard-unknown { then { count discard-unknown; log; discard; } } } filter accept-telnet { term accept-telnet { from { source-prefix-list { GERENCIA; } destination-prefix-list { ipv4-interfaces; } protocol tcp; destination-port telnet; } then { policer management-5m; accept; } } } filter drop-dns-estranho { term dns-zyxel { from { destination-address { 148.224.62.240/32; } } then { discard; } } term accept-all { from { destination-address { 0.0.0.0/0; } } then accept; } } filter accept-bmp { term accept-bmp { from { source-address { 45.163.13.106/32; } destination-prefix-list { ipv4-interfaces; } protocol tcp; source-port 10179; } then accept; } } } family inet6 { filter drop-ntp-bgp { term drop { from { destination-address { 2804:6230:0:50::1/128; } port [ ntp bgp ]; } then discard; } term accept-all { then accept; } } } policer management-1m { apply-flags omit; if-exceeding { bandwidth-limit 1m; burst-size-limit 625k; } then discard; } policer management-5m { apply-flags omit; if-exceeding { bandwidth-limit 5m; burst-size-limit 625k; } then discard; } }